MailPoet\AutomaticEmails\WooCommerce\Events\PurchasedProduct S

Total Complexity 21
Dependencies 14
Dependents 3
Total lines 198
Lines of code 154
Logical lines of code 59
Comment lines 11
Methods 7
Properties 5

Methods 7

Method Rating Maintainability Complexity Lines of code
scheduleEmailWhenProductIsPurchased()
A
44 8 49
getProductIdsMatchingNewsletterTrigger()
S
63 4 9
getProducts()
S
53 2 24
getEventDetails()
S
48 1 37
init()
S
58 2 17
__construct()
S
64 2 10
metaModifier()
S
67 2 8